package com.woniu.atms.vo.aft.Schedule;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * 修改班次价格数据视图
 */
@Getter
@Setter
public class AftScheduleUpdatePriceVO {
    @NotNull(message = "id不能为null")
    @Min(value = 1,message = "id需为正整数")
    private Integer id;
    @NotNull(message = "价格不能为null")
    private BigDecimal price;
}
